package com.tengniu.api.dto.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginReq implements Serializable {

    @NotBlank(message = "登陆账号不能为空")
    private String loginAccount;

    private String password;

    private Integer companyType;
}
